package com.ttdevs.ttrss.parse;

import java.io.IOException;
import java.io.InputStream;
import java.util.List;

import com.ttdevs.ttrss.bean.Article;

public interface IParser {

	/**
	 * 解析
	 * 
	 * @param is
	 * @return
	 * @throws Exception
	 */
	public List<Article> parse(InputStream is) throws Exception;

	/**
	 * 
	 * @param urlStr
	 * @return
	 * @throws IOException
	 * @throws Exception 
	 */
	public List<Article> parse(String urlStr) throws Exception;
}
